package com.hqu.jim.service.impl;

import com.hqu.jim.dao.AttendanceDao;
import com.hqu.jim.dao.impl.AttendanceDaoImpl;
import com.hqu.jim.entity.Attendance;
import com.hqu.jim.service.AttendanceService;

import java.util.List;

public class AttendanceServiceImpl implements AttendanceService {

    private AttendanceDao attendanceDao = new AttendanceDaoImpl();

    @Override
    public List<Attendance> getAllUser(String fileName) {
        return attendanceDao.getAllUser(fileName);
    }

    @Override
    public boolean updateUserByUserSequence(String fileName,String sequence,String score){
        return attendanceDao.updateUserByUserSequence(fileName,sequence,score);
    }
}
